package com.ayu.commentbackend.service;

import com.ayu.commentbackend.pojo.entity.User;
import com.ayu.commentbackend.pojo.result.Result;

import java.util.Map;

public interface UserService {
    void register(User user);

    Result login(User user);

    Result updatePwd(Map<String, String> params);

    void update(Map<String, Object> params);

    User getUserById(Long id);
}
